package com.qf.dao;

import com.qf.pojo.Student;
import com.qf.vo.BarVo;
import com.qf.vo.PieVo;

import java.util.List;

/**
 * @date 2022/4/1
 * @desc
 */
public interface StudentDao {
    List<Student> getPageData(int page, int pageSize, Student student);

    long getStudentsCount(Student student);


    int deleteStudentById(int id);

    int updateStudentById(Student student);

    int addStudent(Student student);

    BarVo showSexBar();

    List<PieVo> showSexPie();
}
